package com.alibaba.dubbo.demo;

import java.util.List;

import com.alibaba.dubbo.demo.bean.PageBean;
import com.alibaba.dubbo.demo.bean.SysUserRole;

public interface SysUserRoleInterface {
	/**
	 * 获取所有角色功能信息
	 */
	public PageBean queryAllSysUserRole(PageBean pageBean,int userid,String usercode,String username,int roleid,String rolecode,String rolename);
	public List<SysUserRole> queryAllSysUserRoleList(int userid,String usercode,String username,int roleid,String rolecode,String rolename);
	
	//获取SysUserRole
	public SysUserRole queryOneSysUserRole(int id);
	
	//保存SysUserRole
	public boolean saveSysUserRole(SysUserRole sysRoleFunc);
	
	//更新SysUserRole
	public boolean updateSysUserRole(SysUserRole sysRoleFunc);
	public boolean updateSysUserRole(int userid,String rolelist);
	
	//删除SysUserRole
	public boolean deleteSysUserRole(int id);
}
